<!DOCTYPE HTML >
<html>
    <head>
        <title>Title</title>
        <meta charset='utf-8'>
        <script language="JavaScript" src = 'frame.js'>

        </script>
        <script>
            window.onload = function () {

         $("btn1").onclick = function () {
            win(600,300,'会员注册表单','form.html') ;
         };

            };
        </script>
    </head>
    <body >
    <button id="btn1" style='position: absolute;'> text</button>
    </body>
</html>